From 56967a26171cb668a0d76dcee8b365f5a6fc9da0 Mon Sep 17 00:00:00 2001 From: king6cong Date: Mon, 20 Feb 2017 15:24:24 +0800 Subject: [PATCH] typo fix --- src/cargo/ops/cargo_rustc/context.rs | 2 +- src/cargo/ops/cargo_rustc/custom_build.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cargo/ops/cargo_rustc/context.rs b/src/cargo/ops/cargo_rustc/context.rs index 31606eb52..cc7c913fb 100644 --- a/src/cargo/ops/cargo_rustc/context.rs +++ b/src/cargo/ops/cargo_rustc/context.rs @@ -444,7 +444,7 @@ impl<'a, 'cfg> Context<'a, 'cfg> { /// Returns a tuple with the directory and name of the hard link we expect /// our target to be copied to. Eg, file_stem may be out_dir/deps/foo-abcdef /// and link_stem would be out_dir/foo - /// This function returns it in two parts so the caller can add prefix/suffis + /// This function returns it in two parts so the caller can add prefix/suffix /// to filename separately /// Returns an Option because in some cases we don't want to link diff --git a/src/cargo/ops/cargo_rustc/custom_build.rs b/src/cargo/ops/cargo_rustc/custom_build.rs index ea3e0f98c..6c5866127 100644 --- a/src/cargo/ops/cargo_rustc/custom_build.rs +++ b/src/cargo/ops/cargo_rustc/custom_build.rs @@ -171,7 +171,7 @@ fn build_work<'a, 'cfg>(cx: &mut Context<'a, 'cfg>, unit: &Unit<'a>) let kind = unit.kind; let json_messages = cx.build_config.json_messages; - // Check to see if the build script as already run, and if it has keep + // Check to see if the build script has already run, and if it has keep // track of whether it has told us about some explicit dependencies let prev_output = BuildOutput::parse_file(&output_file, &pkg_name).ok(); let rerun_if_changed = match prev_output { -- 2.30.2